package icu.qx.wm.domain;

import java.io.Serializable;
import java.util.List;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.*;

/**
 * 库区
 * &#064;TableName  wm_storage_area
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class WmStorageArea extends BaseEntity implements Serializable {
    /** 库区编码 */
    @Excel(name = "库区编码")
    private String saCode;

    /** 仓库编码 */
    @Excel(name = "仓库编码")
    private String saWCode;

    /** 库区名称 */
    @Excel(name = "库区名称")
    private String saName;

    /** 库区面积 */
    @Excel(name = "库区面积")
    private Double saArea;

    /** 备注 */
    @Excel(name = "备注")
    private String saDesc;

    /**
     * 库位
     */
    private List<WmStorageLocation> wmStorageLocationList;

    /** 仓库 */
    private WmWarehouse wmWarehouse;

    /**
     * 库位数量
     */
    private int storageLocationCount;

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return "WmStorageArea{" +
                "saCode='" + saCode + '\'' +
                ", saWCode='" + saWCode + '\'' +
                ", saName='" + saName + '\'' +
                ", saArea=" + saArea +
                ", saDesc='" + saDesc + '\'' +
                ", wmStorageLocationList=" + wmStorageLocationList +
                ", wmWarehouse=" + wmWarehouse +
                ", storageLocationCount=" + storageLocationCount +
                '}';
    }
}